package br.com.upper.business;

import java.util.List;

import br.com.upper.dao.TestInstanceResultDAO;
import br.com.upper.dao.TestResultDAO;
import br.com.upper.entity.TestInstanceResult;

public class TestInstanceResultBO implements ITestInstanceResultBO {

	private TestInstanceResultDAO testInstanceResultDAO;
	
	public TestInstanceResultBO() {
		this.testInstanceResultDAO = new TestInstanceResultDAO();
	}
	
	public void save(TestInstanceResult objeto) {
		this.testInstanceResultDAO.save(objeto);
	}
	
	public void delete(TestInstanceResult objeto) {
		this.testInstanceResultDAO.delete(objeto);
	}
	
	public TestInstanceResult findByID(Long id) {
		return this.testInstanceResultDAO.findByID(id);
	}
	
	public List<TestInstanceResult> findAll() {
		return this.testInstanceResultDAO.findAll();
	}
	
}
